Skip to content

Comments

Ai 2161 update search tool to search in configurations#348

Merged
vita-stejskal merged 40 commits intomainfrom
AI-2161-include-links-in-get-tables-exp
Feb 24, 2026
Merged

Ai 2161 update search tool to search in configurations#348
vita-stejskal merged 40 commits intomainfrom
AI-2161-include-links-in-get-tables-exp

Conversation

@mariankrotil
Copy link
Contributor

@mariankrotil mariankrotil commented Jan 12, 2026

Description

Extended the search tool beyond table/bucket usage references to robust configuration-aware discovery across items (configuration, transformation, flow, data-app, etc.).

Key updates in this branch:

  • Added config-based search path reporting via match_scopes in SearchHit.
  • Reworked config matching to use JSONPath traversal (including scoped search) and return exact matched paths.
    config-based search now always collects all matched paths per item (simpler agent behavior, more complete results).
  • Removed return_all_matches and case_sensitive from the search tool API to reduce complexity and ambiguity.
  • Improved scope handling for scalar paths (e.g. direct scope like parameters.api.baseUrl) while preserving descendant matching.
  • Kept output practical by exposing only most-specific paths in match_scopes (while internal matches keep full detail).
  • Updated search tool docs/examples and project system prompt guidance to explicitly cover config-based search usage.

Linear: AI-2161-buckets-tables-references

Change Type

  • Major (breaking changes, significant new features)
  • Minor (new features, enhancements, backward compatible)
  • Patch (bug fixes, small improvements, no new features)

Summary

  • Update search tool

Testing

  • [x ] Tested with Cursor AI desktop (Streamable-HTTP transports)

Optional testing

  • Tested with Cursor AI desktop (all transports)
  • Tested with claude.ai web and canary-orion MCP (SSE and Streamable-HTTP)
  • Tested with In Platform Agent on canary-orion
  • Tested with RO chat on canary-orion

Checklist

  • Self-review completed
  • Unit tests added/updated (if applicable)
  • Integration tests added/updated (if applicable)
  • Project version bumped according to the change type (if applicable)
  • Documentation updated (if applicable)

@linear
Copy link

linear bot commented Jan 12, 2026

@mariankrotil mariankrotil changed the base branch from main to AI-2161-include-links-in-get-tables January 12, 2026 18:13
@mariankrotil mariankrotil changed the title Ai 2161 include references in tables and buckets Ai 2161 update search tool to search in configurations Jan 16, 2026
@mariankrotil mariankrotil self-assigned this Jan 20, 2026
Base automatically changed from AI-2161-include-links-in-get-tables to main January 23, 2026 08:46
@mariankrotil
Copy link
Contributor Author

@vita-stejskal heads-up: I switched config search to JSONPath-based matching in configuration payloads (including scoped search). I also updated the examples in the search tool description, and config-based results now return matched JSONPaths (match_scopes) so agent can see exactly where the value was found in the config, as we decided.

@vita-stejskal
Copy link
Contributor

This looks much better now. I think that we are nearly done. Thanks!

@vita-stejskal vita-stejskal merged commit 3e1d52f into main Feb 24, 2026
37 of 45 checks passed
@vita-stejskal vita-stejskal deleted the AI-2161-include-links-in-get-tables-exp branch February 24, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants